string n. 1.线,带,绳子;〔美国〕鞋带〔又作 shoe-string, 〔英国〕称 shoe-lace〕。 (穿线、数珠等的)串线,串绳;穿在线上的东西,一串东西;一连串,一系列。 2.一串;一行,一排,一列。 3.〔集合词〕(训练中的)(常属于一个马主的)一群赛跑的马,牛群,马队;一群。 4.(弓)弦;(乐器的)弦;〔the strings〕 弦乐器(演奏者)。 5.纤维;卷须;(豆荚壳等的)筋,腱。 6.【台球】得分数;计分器。 7.〔pl. 〕 〔美口〕(附带)条件,限制。 8.〔美俚〕谎话。 9.【建筑】束带层;短梯基。 a piece of string 一根绳子,一条带子。 shoe string 鞋带。 a string of questions 一连串问题[质问]。 a string of buses 一长列公共汽车。 a string of houses 一排房屋。 a second string to one's bow 另一种手段,第二套办法。 by the string rather than the bow 〔口语〕直接了当地。 harp on one [the same] string 反复讲同一事件。 have sb. on a string 任意操纵某人。 have two strings to one's bow 备有两手,备有两套办法。 in a long string 排成一长串。 no strings 〔美运〕时间没有限制。 no strings attached 没有附带条件。 on the string 〔美国〕有希望。 pull every string 竭力,拼命。 pull the strings 在背后拉线,在幕后操纵。 string tied to it (个中)条件,缘故。 the first [second] string 第一[第二]靠得住的人[物];第一[第二]个办法。 touch a string 〔比喻〕触动心弦。 touch the strings 奏弦乐。 vt. (strung ) 1.用绳、线、带子(等)捆、扎、挂。 2.〔常用 p.p. 〕使紧张,使作好准备;使兴奋。 3.把…用线串起来。 4.使(弓)上弦;调(乐器)弦,抽(豆荚等的)筋。 5.使成一串排列起来,使排成一列 (up out)。 6.拉直,使伸展,扩张,延长;〔口语〕引伸。 7.〔美俚〕欺骗,愚弄,戏弄。 vi. 1.(人等)排成一串,蜿蜒排列;成线状;列成一行前进。 2.〔美俚〕欺骗,撒谎,戏弄。 string out scouts along the road 沿路布置警戒。 string beans 掐去菜豆的筋。 He is highly strung for the game. 他对比赛非常紧张。 I'm strung up to do the job. 我已经准备好可以干这件工作了。 string along with 〔美俚〕陪伴,信任(某人);同意(某事)。 string sb. along 〔美俚〕骗人,使人等待,吊人胃口。 string oneself up 兴奋紧张;打起精神来想做…。 string out (使)节目拖长;行列长达;(日期)延长到 (The program was strung out too long. 节目拖得太长。 ) string together (把事实)连贯起来。 string up 〔口语〕勒死,吊,挂起。
size n. 1.大小,尺寸规模身材。 2.(鞋帽等的)尺码,号;(纸张的)开。 3.巨大,大量;相当大的分量。 4.〔口语〕实情,真相。 5.(人的)能力,才干,身价;(物的)质量,特性。 6.量珠尺,珍珠筛。 7.〔口语〕体重。 8.〔古语〕(饭食、酒类的)定量;份饭。 full size 如实物大。 life size 如真人一般大〔指雕像等〕。 a size seven hat 七(号)大的帽子。 What size do you take in gloves 您手套尺码要多大? That's about the size of it. 〔口语〕实际情况大致就那么样。 a man of a considerable size 相当有才干的人。 be of a size 大小相同。 cut down to size 把重要性[威望等]降至合适的程度,还…的本来面目。 for size 试试尺码,试试是否合适;按不同尺码。 of all sizes 大小尺码齐全。 be (half, twice) the size of 如…的(一半,一倍)大小。 of some size 相当大。 size and strength 大小强弱。 take the size of 量…的尺寸。 vt. 1.依大小排列;量大小;测量大小;【军事】量身段,依身长排列。 2.筛分,分粒。 3.按规定尺寸制作;使…大小合适。 vi. 1.(在大小、质量等方面)相同,不相上下 (up to, up with)。 2.领取定食。 size a company 按身段高低排列一连士兵。 size down 由大到小排列。 size up 够标准,合尺寸;估量,测量;〔口语〕品评,鉴定(人物等)。 n. (用面粉、树胶、树脂等配制的)胶料,浆糊〔用于给纸张、皮革、织物等浆洗上光〕。 vt. 给…上胶,对…上浆。 a sizing machine 浆纱机。
Enabling a layout that adapts to varying string sizes 启用适应不同字符串大小的布局
Demonstrates enabling a layout that adapts to varying string sizes 演示如何启用适应不同字符串大小的布局。
Degenerate slice indices are handled gracefully : an index that is too large is replaced by the string size , an upper bound smaller than the lower bound returns an empty string 退化的切片索引处理方式很优美:过大的索引代替为字符串大小,下界比上界大的返回空字符串。